﻿////////////////////////////////////////////////////////////////////////
//Autor: Gabriel Tame Borao  - gabrieltame@yahoo.es 
//Fecha: 2010/09/15 01:24
//Solucion: GTameReport.sln
//Proyecto: GTameReport
//Fichero: AxisType.cs
//
//	Copyright (C) 2010  Gabriel Tame Borao (GTB)
//
//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program.  If not, see <http://www.gnu.org/licenses/>.
////////////////////////////////////////////////////////////////////////
namespace Rdl
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition"), GeneratedCode("xsd", "2.0.50727.42"), DebuggerStepThrough, DesignerCategory("code")]
    public class AxisType
    {
        private XmlAttribute[] anyAttrField;
        private ItemsChoiceType25[] itemsElementNameField;
        private object[] itemsField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement("Style", typeof(StyleType)), XmlElement("Min", typeof(string)), XmlAnyElement, XmlChoiceIdentifier("ItemsElementName"), XmlElement("Interlaced", typeof(bool)), XmlElement("LogScale", typeof(bool)), XmlElement("MajorGridLines", typeof(MajorGridLinesType)), XmlElement("MajorInterval", typeof(string)), XmlElement("MajorTickMarks", typeof(AxisTypeMajorTickMarks)), XmlElement("Margin", typeof(bool)), XmlElement("Max", typeof(string)), XmlElement("CrossAt", typeof(string)), XmlElement("MinorGridLines", typeof(MinorGridLinesType)), XmlElement("MinorInterval", typeof(string)), XmlElement("MinorTickMarks", typeof(AxisTypeMinorTickMarks)), XmlElement("Reverse", typeof(bool)), XmlElement("Scalar", typeof(bool)), XmlElement("Title", typeof(TitleType)), XmlElement("Visible", typeof(bool))]
        public object[] Items
        {
            get
            {
                return this.itemsField;
            }
            set
            {
                this.itemsField = value;
            }
        }

        [XmlElement("ItemsElementName"), XmlIgnore]
        public ItemsChoiceType25[] ItemsElementName
        {
            get
            {
                return this.itemsElementNameField;
            }
            set
            {
                this.itemsElementNameField = value;
            }
        }
    }
}

